<?php

namespace App\Validate;

class LogRpcValidation extends BaseValidation
{
    // 调用案例 check支持自定义规则

    // make(AmountValidation::class)->check($this->request->all(),__FUNCTION__)

    //返回响应值的  ->response()

    //返回boole   ->get()

    //返回报错信息  ->getError()

    //验证规则
    protected $rule =[
        'admin_id'=>'required',
        'log'=>'required',
    ];
    //自定义验证信息
    protected $message = [

    ];
    
    //自定义场景
    protected $scene = [
        'log'=>"admin_id,log",
    ];
}
